// 购物车仓库
import { setSession,getSession } from "@/utils"


export default ({
    namespaced:true,
    state: {
        cartList: getSession('cartList')||[{ }],           
    },
    mutations: {
        sendOrder(state,playload){
            state.cartList=playload
            setSession('cartList',state.cartList)
        }
    },
})